package com.monkey.luffer.springboot.demo.basis.example;

import java.util.*;


/**
 * @Author: dengkaibing
 * @Description:
 * @Date: 2020/11/18 10:04
 * @company 甜橙金融
 * @Version: 1.0
 */
public class LamdbaTest {

    //函数表达式
    public static void main(String[] args) {

//        QueryService queryService = () -> {
//            System.out.println("zzz");
//        };
//        queryService.test();

        GenericBasis.Student student = new GenericBasis.Student();
        GenericBasis.Student student2 = null;
        Optional<GenericBasis.Student> optional = Optional.empty();
        System.out.println(optional.isPresent());
    }



}
